package com.ruoyi.app.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 跳转配置业务对象 app_jump_config
 *
 * @author ruoyi
 * @date 2025-11-25
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class AppJumpConfigBo extends BaseEntity {

    /**
     * 主键ID
     */
    @NotNull(message = "主键ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 跳转名称
     */
    @NotBlank(message = "跳转名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jumpName;

    /**
     * 跳转链接
     */
    @NotBlank(message = "跳转链接不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jumpUrl;

    /**
     * 跳转LOGO（图片地址）
     */
    @NotBlank(message = "跳转LOGO（图片地址）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jumpLogo;

    /**
     * 排序
     */
    @NotNull(message = "排序不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long sort;

    /**
     * 状态(1启用 0禁用)
     */
    @NotNull(message = "状态(1启用 0禁用)不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long status;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;


}
